home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / ScreenSavers / BackSpaceViews / GradientView.BackModule / GradientView.h < prev    next >
Encoding:
Text File  |  1995-06-12  |  849 b   |  47 lines

  1. /***
  2.     GradientView by J. Shan Bell
  3.     Nov 7, 1993
  4.     v1.1
  5.  
  6.     There are no restrictions on this code, it's in the public domain.  I accept
  7.     no responsibility for it's fitness for any particular use.
  8. ***/
  9.  
  10.  
  11. #import <appkit/appkit.h>
  12.  
  13. @interface GradientView:View
  14. {
  15.     NXColor topColor;
  16.     NXColor bottomColor;
  17.     id        topColorWell;
  18.     id        bottomColorWell;
  19.     id        inspectorPanel;
  20.     BOOL    doingScreenSaver;
  21.     BOOL    aColorWellHasChanged;
  22. }
  23.  
  24. - initFrame:(const NXRect *)rect;
  25.  
  26. - oneStep;
  27. - drawSelf:(const NXRect *)rects :(int)rectCount;
  28. - (BOOL)isBoringScreenSaver;
  29. - getBottomColor: sender;
  30. - getTopColor: sender;
  31. - apply: sender;
  32.  
  33. - inspector: sender;
  34. - (BOOL) useBufferedWindow;
  35.  
  36. - writeColors: sender;
  37.  
  38. - writeTopColor: sender;
  39. - readTopColor: sender;
  40. - writeBottomColor: sender;
  41. - readBottomColor: sender;
  42.  
  43. - enteredScreenSaverMode;
  44. - willExitScreenSaverMode;
  45.  
  46. @end
  47.